-
Notifications
You must be signed in to change notification settings - Fork 25
Makefile
migration: make build_sdk
#631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Did you see https://docs.google.com/document/d/1ftBuHGGb7SErE2WCB-MHbOMVu_VmbF81lxS3e520e3c/edit?tab=t.0#heading=h.u981p2fv4khv? We should probably follow that, or have some more discussion there, so we can have a standard set of makefile targets. |
Makefile
migration: make build-sdk
Makefile
migration: make build_sdk
Makefile
Outdated
build: clean build_sdk build_language_host | ||
|
||
build_sdk: | ||
cd sdk && dotnet restore --no-cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this is what we already do without much of an explanation, but I'm curious why this is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-restore
In most cases, you don't need to explicitly use the dotnet restore command, since if a NuGet restore is necessary, the following commands run it implicitly:
...
dotnet build
...
Good point - I think we can probably just remove this!
Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. I just realized, we should update the readme as well.
(removed from queue for readme updates) |
Following on from #629, this PR lifts
buildSdk
into theMakefile
.make build
now runsbuild_sdk
(migrated from the F# file) andbuild_language_host
(previouslymake build
).